package cn.icanci.loopstack.bic.sdk.burying;

import cn.icanci.loopstack.bic.sdk.thread.BicDataCachePool;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/27 16:32
 */
@SuppressWarnings("unused")
public class LoggerBuryingUtils {

    private static final String EMPTY = "";

    public static void debug(String traceId, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void debug(String traceId, String businessNo, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void debug(String traceId, String businessNo, String module, String message) {
        BuryingDTO burying = BuryingBuilder.debug(traceId, businessNo, module, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void debug(String traceId, String businessNo, String module, String category, String message) {
        BuryingDTO burying = BuryingBuilder.debug(traceId, businessNo, module, category, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void debug(String traceId, String businessNo, String module, String category, String subCategory, String message) {
        BuryingDTO burying = BuryingBuilder.debug(traceId, businessNo, module, category, subCategory, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void debug(String traceId, String businessNo, String module, String category, String subCategory, String ext, String message) {
        BuryingDTO burying = BuryingBuilder.debug(traceId, businessNo, module, category, subCategory, ext, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String businessNo, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String businessNo, String module, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, module, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String businessNo, String module, String category, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, module, category, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String businessNo, String module, String category, String subCategory, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, module, category, subCategory, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void info(String traceId, String businessNo, String module, String category, String subCategory, String ext, String message) {
        BuryingDTO burying = BuryingBuilder.info(traceId, businessNo, module, category, subCategory, ext, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String businessNo, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, businessNo, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String businessNo, String module, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, businessNo, module, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String businessNo, String module, String category, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, businessNo, module, category, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String businessNo, String module, String category, String subCategory, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, businessNo, module, category, subCategory, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void warning(String traceId, String businessNo, String module, String category, String subCategory, String ext, String message) {
        BuryingDTO burying = BuryingBuilder.warning(traceId, businessNo, module, category, subCategory, ext, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, EMPTY, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String businessNo, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, businessNo, EMPTY, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String businessNo, String module, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, businessNo, module, EMPTY, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String businessNo, String module, String category, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, businessNo, module, category, EMPTY, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String businessNo, String module, String category, String subCategory, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, businessNo, module, category, subCategory, EMPTY, message);
        BicDataCachePool.add(burying);
    }

    public static void error(String traceId, String businessNo, String module, String category, String subCategory, String ext, String message) {
        BuryingDTO burying = BuryingBuilder.error(traceId, businessNo, module, category, subCategory, ext, message);
        BicDataCachePool.add(burying);
    }
}
